package by.sjc.giz.model;

/**
 * Created by Z on 21.08.14.
 */
public class OrderRecord {
    private Book book;
    private int count;
    private float bookPrice;

    public OrderRecord(Book book, int count, float bookPrice) {
        this.book = book;
        this.count = count;
        this.bookPrice = bookPrice;
    }

    public Book getBook() {
        return book;
    }
    public void setBook(Book book) {
        this.book = book;
    }

    public int getCount() {
        return count;
    }
    public void setCount(int count) {
        this.count = count;
    }

    public float getBookPrice() {
        return bookPrice;
    }
    public void setBookPrice(float bookPrice) {
        this.bookPrice = bookPrice;
    }

    @Override
    public String toString() {
        return "OrderRecord{" +
                "book=" + book +
                ", count=" + count +
                ", bookPrice=" + bookPrice +
                '}';
    }
}
